package com.wolfsea.binderdemo
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import com.wolfsea.binderdemo.databinding.FragmentCalculateBinding

class CalculateFragment : BaseFragment<FragmentCalculateBinding>(FragmentCalculateBinding::inflate) {

    private lateinit var viewModel: CalculateViewModel

    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        viewModel = ViewModelProvider(this).get(CalculateViewModel::class.java)
    }

    companion object {
        fun newInstance() = CalculateFragment()
    }
}